package com.easy.common.constant;

import com.easy.common.util.Utility;

public class Const {
	public static final long DT_S = 1000;
	public static final long DT_MINIT = 60000;
	public static final long DT_H = 3600000;
	public static final long DT_D = 86400000;
	public static final long DT_MONTH = 2592000000L;
	public static final long DT_Y = 31536000000L;
	public static final int K = 1024;
	public static final int M = 1048576;
	public static final int G = 0;
	public static final int T = 0;
	public static final int K64 = 65536;
	public static final int MAX_2_BYTES = 65535;
	public static final String CHINA_CODE_NAME = "GBK";
	public static final String DEFAULT_CODE = (Utility.isNullorEmpty(SysProps.getProp("defaultCode"))) ? "UTF-8" : SysProps.getProp("defaultCode");
	public static final String CSV_FILE_CODE = (Utility.isNullorEmpty(SysProps.getProp("csvFileCode"))) ? "GBK" : SysProps.getProp("csvFileCode");

	public static final String COMMON_CODE_PATH_PREFIX = "basecode";
	public static final String RETURN_ERROR = "1";
	public static final String RETURN_OK = "0";
	public static final String RETURN_MIDDLE = "-1";
	public static final String RETURNCHECK = "returnCheck";
	public static final String RETURN_JSON = "returnJson";
	public static final String RET_TYPE_JSON = "json";
	public static final String RET_TYPE_XML = "xml";
	public static final String YES = "1";
	public static final String NO = "0";
	public static final int DEFAULT_IO_BUFF_SIZE = 10240;
	public static final String OPEN_MANNER_CLIENT_MAIN = "0";
	public static final String OPEN_MANNER_POPNEW = "1";
	public static final String USED_FOR_NORINCO_YES = "1";
	public static final String RUN_WITH_VOUCH_DISPONTOOLBAR = "1";
	public static final String ALLOW_FILE_UPLOAD_NOT_YES = "0";
	public static final String ALLOW_FILE_UPLOAD_NOT_NO = "1";
	public static final String ALLOW_FILE_UPLOAD_NOT_DISP = "2";
	public static final String DBMS_SQLSERVER = "sqlserver";
	public static final String DBMS_MYSQL = "mysql";
	public static final String DBMS_ORACLE = "oracle";
	public static final String LOGIN_USER = "LOGIN_USER";
	public static final String KEY_TD_SIGN = "C2C238A0";

	public Const()
	{
	}

}
